package com.oa.system.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("sys_approval_rule")
@ApiModel("审批规则表")
@Data
public class ApprovalRule {

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("方案ID")
    private Long approvalPlanId;

    @ApiModelProperty("控件ID")
    private Long assemblyId;

    @ApiModelProperty("规则名称")
    private String ruleName;

    @ApiModelProperty("规则类型")
    private String ruleType;

    @ApiModelProperty("规则形式(1-= 2-> 3-< 4->= 5-<=)")
    private Integer ruleStyle;

    @ApiModelProperty("规则值")
    private String ruleValue;
}
